package com.qijian.maindata.domain.query;


import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * 【请填写功能名称】对象 查询条件类
 *
 * @author qijian
 * @date 2021-12-20
 */

@Data
@ToString
@TableName("main_out_detail_associated")
public class OutDetailAssociatedQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "out_id")
    private Long outId;
    @WhereType(filed = "out_id", type = WhereTypeEnum.IN)
    private List<Long> outIds;
    @WhereType(filed = "detail_id")
    private Long detailId;
    @WhereType(filed = "detail_id", type = WhereTypeEnum.IN)
    private Set<Long> detailIds;
    @WhereType(filed = "out_status", type = WhereTypeEnum.IN)
    private List<Integer> outStatus;
    @WhereType(filed = "out_bound_code", type = WhereTypeEnum.LIKE)
    private String outBoundCode;
    @WhereType(filed = "check_code")
    private String checkCode;
    @WhereType(filed = "in_bound_code")
    private String inBoundCode;
    @WhereType(filed = "invoice_code")
    private String invoiceCode;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "work_id", type = WhereTypeEnum.NOTIN)
    private Set<Long> workIdsNotIn;

    @WhereType(filed = "create_time", type = WhereTypeEnum.BETWEEN)
    private List<Date> createTimeBetween;
    @WhereType(filed = "create_time", type = WhereTypeEnum.GT)
    private Date createTimeLt;
    @WhereType(filed = "project_no", tableName = "main_project")
    private String projectNo;
    @WhereType(filed = "machine_no", tableName = "main_project")
    private String machineNo;
}
